package com.jw.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jw.system.entity.Customer;
import com.jw.system.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jw.system.entity.vo.DepartmentVO;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author jw
 * @since 2021-04-20
 */
public interface DeptService extends IService<Dept> {

    /**
     * 所有部门
     * @return
     */
    List<DepartmentVO> findAllVO();

    Page<DepartmentVO> getDeptList(Integer current, Integer size, DepartmentVO dept);


}
